home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / macros / plain / contrib / vertex / restud.sty < prev    next >
Encoding:
Text File  |  1991-05-22  |  5.8 KB  |  193 lines

  1. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  2. %
  3. %    Review of Economic Students --- style file
  4. %
  5. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  6.  
  7. %Since this style uses the notes-at-end by default, it is necessary to
  8. % put \Notes on a line by itself right before \Refs in order to
  9. % get the Acknowlegement and Notes printed.
  10.  
  11. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  12. %      Special fonts
  13. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  14.  
  15. \font\sixteenrmB=cmbx10 scaled \magstep4
  16. \font\sctwelve=cmcsc10 scaled\magstep1
  17. \font\scten=cmcsc10
  18.  
  19. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  20. %      Set pagesize
  21. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  22.  
  23. \hsize=32pc
  24. \vsize=51pc
  25. \hoffset=1in
  26. \voffset=1in
  27.  
  28. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  29. %      Headline and footline
  30. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  31.  
  32. \nopagenumbers 
  33. \def\rightheadline{\hbox to\hsize{\tenrm\hfil\uppercase{\runname}\hskip 3em\uppercase{\runtitle}\hfil\folio}}
  34. \def\leftheadline{\hbox to \hsize{\tenrm\folio \hfil {\scten REVIEW OF ECONOMIC STUDENTS}\hfil}} 
  35. \headline={\ifodd\pageno\rightheadline\else\leftheadline\fi}
  36.  
  37. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  38. %  Define topmatter style
  39. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  40.  
  41. \def\TitleFont{\sixteenrmB}
  42. \def\AuthorFont{\sctwelve}
  43.  
  44. \def\DoCenteredTitle#1{
  45.     \titlepage\global
  46.     \CenterBox
  47.        \titlebox
  48.        \TitleFont
  49.        {20pt}
  50.        {#1}}
  51.  
  52. \def\title#1{\DoCenteredTitle{#1}}
  53.  
  54. \def\author#1{\DoCenteredAuthor{#1}}
  55.  
  56. \def\affil#1{\global\setbox\affilbox\hbox{\tenit\noindent #1}}
  57.  
  58. \def\thanks#1{\global\setbox\thanksbox\hbox{\eightpoint
  59.   {\it Acknowledgement.}\space#1\par}}
  60.  
  61. \def\date#1{\global\setbox\datebox\vbox{\tenrm #1 \hfil}}
  62.  
  63. \def\abstract#1{\global\setbox\abstractbox
  64.      \vbox{\eightpoint\hsize=28pc #1}}
  65.  
  66. \def\keywords#1{}
  67. \def\address#1{}
  68.  
  69. \def\topmatter{\relax}
  70. \def\endtopmatter{\DoTop}
  71. \def\document{\DoPaper\noindent}
  72.  
  73. \let\SectionFont=\scten
  74. \RomanSectionfalse
  75.  
  76. \def\section#1\par{\DoCenteredSection{\uppercase{#1}}}
  77.  
  78. \def\subsection#1\par{\BigBreak\noindent
  79.    {\it \number\SectionNumber.\number\SubsectionNumber.\enspace #1\hfil}
  80.    \nobreak\medskip\noindent}
  81.  
  82. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  83. %  Redefine \fnote since REStud has notes at end
  84. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  85.  
  86. \def\fnote#1{$^{\the\FootNumber}$
  87. \insert\endnoteins{\eightpoint\smallskip\number\FootNumber. #1\par}
  88. \global\advance\FootNumber by 1}
  89.  
  90. %\def\fnote#1{$^{\the\FootNumber}$
  91. %\insert\endnoteins{\eightpoint
  92. %  \begingroup\smallskip\number\FootNumber.\space#1\par\endgroup}
  93. %  \global\advance\FootNumber by 1}
  94.  
  95. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  96. %   Math conventions
  97. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  98.  
  99. \outer\def\proclaim #1. #2\par{\medbreak
  100.   {\tenpoint\bf#1.\enspace}{\sl#2}\par
  101.   \ifdim\lastskip<\medskipamount \removelastskip\penalty55\medskip\fi}
  102.  
  103. \def\proof{\goodbreak{\it Proof.\enspace}}
  104.  
  105. \def\qed{$\parallel$}
  106.  
  107. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  108. %     Redefine figure macro
  109. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  110.  
  111. \def\Figure#1#2#3{
  112.      \midinsert
  113.      \vbox to #2{\vfil}
  114.      \hbox to \hsize{\vbox{\parindent=0pt
  115.      {\scten Figure \number#1}. \rm #3}}
  116.      \endinsert}
  117.  
  118.  
  119. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  120. %   References
  121. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  122.  
  123. \let\RefFont=\eightpoint
  124.  
  125. \def\Notes{\ifvoid\thanksbox\relax\else
  126. \vfill\supereject
  127. \vbox{\hsize=28pc\eightpoint\noindent\unhbox\thanksbox\par}\fi
  128. \ifvoid\endnoteins\relax\else
  129.  \bigskip
  130.  \line{\eightpoint\rm NOTES \hfil}
  131.  \medskip
  132.  \unvbox\endnoteins
  133. \fi}
  134.  
  135. \def\DoRefs{\BigBreak
  136. {\noindent\eightpoint\rm REFERENCES}
  137. \vskip .5pc
  138. \RefFont}
  139.  
  140. \def\Refs{\DoRefs}
  141.  
  142. \def\by#1{\setbox\bybox\hbox{\eightpoint\sc\expandafter\uppercase{#1}}}
  143.  
  144. \def\SetRef{\vskip 2pt
  145.  
  146.   \ifjour\jourfalse\vbox{\HangRef
  147.      \unhbox\bybox\space (\unhbox\yrbox), ``\unhbox\paperbox'', 
  148.      \unhbox\jourbox, {\bf \unhbox\volbox} 
  149.      \ifvoid\nobox\relax\else (\unhbox\nobox), \fi
  150.      \unhbox\pagesbox. \par}\fi
  151.   
  152.   \ifbook\bookfalse\par\vbox{\HangRef
  153.      \unhbox\bybox\space {\it \unhbox\bookbox}. \unhbox\publaddrbox : 
  154.          \unhbox\publbox , \unhbox\yrbox.\par}\fi
  155.  
  156.  \ifinbook\inbookfalse\par\vbox{\HangRef
  157.      \unhbox\bybox\space (\unhbox\yrbox): ``\unhbox\paperbox,'' in 
  158.      {\it \unhbox\bookbox}, ed. by {\rm \unhbox\editorbox}.
  159.      \unhbox\publaddrbox : \unhbox\publbox \ifvoid\pagesbox\relax
  160.      \else, \unhbox\pagesbox .\fi\par}\fi
  161.  
  162.  \ifunpublished\unpublishedfalse\par\vbox{\HangRef
  163.      \unhbox\bybox\space(\unhbox\yrbox):
  164.     ``\unhbox\paperbox, '' \unhbox\paperinfobox .\par}\fi
  165. }
  166.  
  167.  
  168. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  169. %  Set the paper
  170. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  171.  
  172. \def\titlehead{\vbox{\eightpoint
  173. \line{Review of Economic Students (1986) LIII, 001--002 \hfil 0034-6527/86/000100001\$2.00}
  174. \line{$\copyright$ 1986 The Society for Limited Economic Analysis \hfil}
  175. }}
  176. \def\titlefoot{\hfil}
  177.  
  178. \def\DoTop{\Reset
  179. \vglue 2pc
  180. \line{\hfil\box\titlebox\hfil}
  181. \vskip 2pc
  182. \line{\hfil\box\authorbox\hfil}
  183. \vskip.25pc
  184. \line{\hfil\box\affilbox\hfil}
  185. \vskip 2pc
  186. \line{\hfil\box\abstractbox\hfil}
  187. \vskip2pc}
  188.  
  189. \def\DoPaper{\relax}
  190.  
  191. \tenpoint
  192. \parindent=20pt
  193. \def\footnoterule{}